package com.example.service;

import com.example.entity.SpotCheckPlan;
import com.example.entity.SpotObjectCensus;
import com.example.entity.SpotObjectPlan;

import java.util.List;
import java.util.Map;

/**
 * 维保计划查询
 */
public interface SpotObjectPlanService {

    //通过id查询SQL语句
    public Map<String, Object> findList(SpotObjectPlan spotObjectPlan);
    // 新增数据
    public Map<String, Object> insert(SpotObjectPlan spotObjectPlan);

    // 修改数据
    public Map<String, Object> update(Map map);

    // 删除数据
    public Map<String, Object> delete(Map map);

    public Map<String, Object> sendMessage(Map map);
    // 导出实施对象
    public Map<String, Object> exportExcelObj(Map map);
    // app端查询维保记录
    Map<String, Object> findRecordApp(SpotObjectPlan spotObjectPlan);
    // 维保质量统计
    Map<String, Object> spotObjectCensus(Map map);
    // app端查询已完成维保记录
    Map<String, Object> queryFinishRecordApp(SpotObjectPlan spotObjectPlan);
    // 维保质量统计详情
    Map<String, Object> queryPlanDetails(Map map);
    // 导出记录表
    List<SpotObjectCensus> exportExcelClown(SpotObjectCensus spotObjectCensus);
}
